<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>5.Object.assign方法</title>
	</head>
	<body>
		<script type="text/javascript" >
			let obj1 = {a:1,c:9}
			let obj2 = {b:2,c:90}
			let obj3 = {c:3}

			Object.assign(obj3,obj2,obj1)
			console.log(obj3)
		</script>
	</body>
</html>